package com.techsoul.module.goods.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

import java.util.Date;

/**
 * SKU（商品），库存量单位（Stock Keeping Unit），是物理上不可分割的最小存货单元，可以是以件、盒、 保存参数
 * 
 * @author liuen
 * @date 2021-05-08
 */
@Data
@Accessors(chain = true)
public class SkuSaveParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID（系统自动产生）")
    private String id;

    @ApiModelProperty("SPU_ID")
    private String spuId;
    @ApiModelProperty("出库频率 1到10 1为频率最高 10为最低")
    private Integer outBoundFrequencyRate;
    @ApiModelProperty("basic_id")
    private String basicId;
    @ApiModelProperty("SKU名称")
    private String skuName;
    @ApiModelProperty("所属客户")
    private String storeId;
    @ApiModelProperty("商品条码")
    private String sn;
    @ApiModelProperty("商品图号")
    private String skuCode;
    @ApiModelProperty("品牌ID")
    private String brandId;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("分类ID")
    private String categoryId;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("价格")
    private Long price;

    @ApiModelProperty("重量")
    private Long weight;

    @ApiModelProperty("规格")
    private String spec;

    @ApiModelProperty("库存数量")
    private Long qty;

    @ApiModelProperty("库存预警数量")
    private Long alertQty;

    @ApiModelProperty("商品图片")
    private String image;

    @ApiModelProperty("商品图片列表")
    private String images;

    @ApiModelProperty("销量")
    private Long saleQty;

    @ApiModelProperty("评论数")
    private Long commentQty;

    @ApiModelProperty("商品状态 1-正常，2-下架，3-删除")
    private String status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否有效（数据字典sys_yn_type，默认1-是）")
    private String isValid;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("客户货号")
    private String custSkuId;
    @ApiModelProperty("域")
    private String site;
}
